Skip to content

Conversation

lienminhquang
Copy link
Contributor

@lienminhquang lienminhquang commented Oct 3, 2025

Fixes #1684

Solution
deep-copy snapshot in load_next to keep history immutable

@lienminhquang lienminhquang requested a review from DouweM October 7, 2025 02:11
@DouweM DouweM changed the title fix(persistence): deep-copy snapshot in load_next to keep history immutable Ensure graph persistence snapshots are not mutated when run is resumed Oct 7, 2025
@DouweM DouweM merged commit a067def into pydantic:main Oct 7, 2025
30 checks passed
@DouweM
Copy link
Collaborator

DouweM commented Oct 7, 2025

@lienminhquang Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Pydantic Graph] Unexpected behaviour in FullStatePersistence
2 participants